package com.starchen.optimalselection.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.starchen.optimalselection.admin.model.AdminMenu;
import com.starchen.optimalselection.admin.model.AdminRoleMenu;
import com.starchen.optimalselection.admin.model.form.AssginMenuForm;

import java.util.List;

/**
 * @author daxilong
 * @date 2025/4/12 10:17
 */
public interface AdminRoleMenuService extends IService<AdminRoleMenu> {

    List<AdminMenu> findMenuByRoleId(Long roleId);

    //给角色分配菜单权限
    void doAssign(AssginMenuForm assginMenuVo);

}
